var cookie = getCookie("Massage");
if (null == cookie){
    //商家未登录
    alert("请先登录！");
    location.href="login.html";
}